package com.itlaobing.spring.ioc.scope;

import java.util.logging.Logger;

public class Loong {
    private Logger logger = Logger.getLogger( this.getClass().getName() );

    private Integer id ;
    private String name ;

    public Loong(){
        super();
        logger.info( "Loong()" );
    }

    public void prepare(){
        logger.info( "初始化" );
    }

    public void release(){
        logger.info( "销毁" );
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
